home *** CD-ROM | disk | FTP | other *** search
/ Revista do CD-ROM 137 / cd-rom 137.iso / aplic / gantt / ganttproject-2.0.2.exe / net.sourceforge.ganttproject_2.0.0 / data / resources / xslt / gantt-resources.xsl < prev    next >
Encoding:
Extensible Markup Language  |  2006-08-08  |  1.1 KB  |  36 lines

  1. <?xml version="1.0" encoding="iso-8859-2" ?>
  2. <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
  3.  
  4. <xsl:output method="html" indent="yes" encoding="UTF-8"/>
  5.  
  6. <xsl:include href="gantt-utils.xsl"/>
  7.  
  8. <xsl:template match="resources">
  9. <table width="600" border="0">
  10.  <tr>
  11.   <td bgcolor="#dddddd"><h5><xsl:value-of select="@name"/></h5></td>
  12.   <td bgcolor="#dddddd"><h5><xsl:value-of select="@role"/></h5></td>
  13.   <td bgcolor="#dddddd"><h5><xsl:value-of select="@mail"/></h5></td>
  14.   <td bgcolor="#dddddd"><h5><xsl:value-of select="@phone"/></h5></td>
  15.  </tr>
  16.   <xsl:for-each select="resource">
  17.     <tr>
  18.         <td valign="top"><b><xsl:value-of select="name"/></b></td>
  19.         <td valign="top"><xsl:value-of select="role"/></td>
  20.         <td valign="top"><a><xsl:attribute name="href">mailto:<xsl:value-of select="mail"/></xsl:attribute><xsl:value-of select="mail"/></a></td>
  21.         <td valign="top"><xsl:value-of select="phone"/></td>
  22.     </tr>
  23.   </xsl:for-each>
  24. </table>
  25.  
  26. <br/><br/>
  27. <img>
  28.     <xsl:attribute name="src"><xsl:value-of select="/ganttproject/resources/chart/@path"/></xsl:attribute>
  29. </img>
  30. <br/>
  31.  
  32. </xsl:template>
  33.  
  34. </xsl:stylesheet>
  35.  
  36.